package com.glut.forum.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 关注表
 * </p>
 *
 * @author jobob
 * @since 2021-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TbAttention extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "item_id", type = IdType.AUTO)
    private Integer itemId;

    private String itemCode;

    /**
     *   关注人的code
     */
    private String attentionUserCode;

    /**
     *  被关注人的code
     */
    private String byAttentionUserCode;

    /**
     * 关注时间
     */
    private LocalDateTime attentionTime;


}
